package com.itheima.day05.myfactorial.test1;

public class Test {
    public static void main(String[] args) {
        // 1 ~ 100的和
        int avg = 0;
        for (int i = 1; i <= 100; i++) {
            avg += i;
        }
        System.out.println(avg);
    }
}
